﻿
namespace eLearning.Model
{
    public class Mahasiswa
    {
        public enum STATUS : byte { REGISTER, JOIN, NONE }

        public string Id { get; set; }
        public STATUS Status { get; set; }
        public string Nim { get; set; }
        public string Username { get; set; }
        public string Password { get; set; }
        public string Nama { get; set; }
        public string Alamat { get; set; }
        public string Telepon { get; set; }
        public string Email { get; set; }
        public Angkatan TahunAngkatan { get; set; }

        public override string ToString()
        {
            return Nama + " (" + Nim + ")";
        }
    }
}
